//@author A0105735J
// This class is for delete command
#pragma once
#ifndef COMMANDDELETE_H
#define COMMANDDELETE_H
#include "Command.h"
class CommandDelete: public Command{
private:
	// deleteID contains all displayID typed by user
	std::vector<int> deleteID;
	// this vector contains pointers which point to events to be deleted
	std::vector<Event*> undoDeleteEvent;
public:
	CommandDelete();
	~CommandDelete();
	// set all the display ID to be deleted
	void setID(std::vector<int>);
	// execute the delete command
	virtual Feedback execute(Receiver*);
	// undo the delete command
	virtual Feedback undo(Receiver*);
};
#endif
